Error in size for resetting background

Using width for height when setting size for clearing background.