Fixed tile index fetching from position

Fixed strange cases with negative position values. Next step is to
perform basic push-out for actors. After that, refactor tiles to not be
actors