fix image zoom in facility security and changing image sizes