Fixed unloading of images that are onscreen

Using boundingBox instead of position