fixes movement issues, binding mario to the containing box