collision is bugged when using tilemap

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tova

collision doesn’t work as it is supposed to, see picture below

it should be like this (black rectangle is representing collision):
imgur link

but instead it is more like this:
imgur link

:bust_in_silhouette: Reply From: Tova

when i did the same thing again today it worked as it should