Background is not redrawn everytime