null check - image at resize function
focus with mouseclick