Fixed annoying warning, Fixed a bug with the widget class where it was incorrectly assigning width and height