Fixed windowClose callbacks.