Added drawScreen after the updateWindow function calls