Added (TODO: Use) IsWindowFocused delegate