Fix ceiling collision bug