Attempting to fix rectangular collision