Allow getTexture() method in Entity to return null, as it's needed for
the multiplayer.