Windows issue: stuck in the wall

Hello again GM Community, I am having a slight issue with something basic, I have a "player" object which gets stuck inside the wall when I move to the left or right, once it is stuck there is no movement and I have to close the window, below is a screenshot of the issue and basic code I am working with:
upload_2019-11-8_17-20-29.png
upload_2019-11-8_17-20-20.png


Thanks in advance
11:11
 
Top