Fixed views being allowed outside the room.
Fixed a crash when changing an object's sprite.