Properly adjusting for various background sizes.