Code:
white_pan.scale_x = screen_size.x

I guess this is not your intention. You meant
Code:
white_pan.size_x = screen_size.x

right?


Always learn from history, to be sure you make the same mistakes again...