make sure the server avatar don't go outside the box