Objects are now drawn in window.