Contents:
Updates the X and Y bounds of the world.
entity – The entity that is being added or removed
remove – Specifies if the update is due to removal of an entity.