[#228] fixed the `flip*` function when the entity rect and the renderable are asymetrics