Fixes Button draw without background.
Adds get_valid_sizes to window.