fixed rect bug in render(Uint16)