disable mustache when outside of image bounds