fix subclassing Vector2f in render entity