Fix the bug where hovered images would go slightly off screen