Fix image tile position check #117