Even with this issue, I was able to finish level 64 very smoothly!
O5BLB53IBIBTCITKYRHHTB7FD6BKMJ2NIUNU77AQAI662NFOOESAC
EMKY5CW2JAOFMJJGD7QNPO7TXVYXGFNQ2VTP3E52SQ7Y6YEVAQGAC
3AOSRXSHG5UYYVLV5RIDCPEG2NB7H3K23QF7V6EOJCP24TVP5U6QC
GVX7YSQYURPWFSUWVUAORZJTQBJURWWNBNUGEZYFAUMX3X5LSACQC
BUPMQLGRZJFGYEY7DI7YV7V3URUE5HVT2AFQHQBG2GORLNSRW7VAC
elseif crate_to_move and (level_state[y][x] == CELL_VACANT or level_state[y][x] == CELL_TARGET) then
elseif crate_to_move and level_state[y][x] ~= CELL_WALL and level_state[y][x] ~= CELL_CRATE and level_state[y][x] ~= CELL_CRATE_ON_TARGET then