Modify a bar out of screen problem