Made when window is visible nothing else to be