fix missing window buttons in full screen mode on Yosemite

On Yosemite, when the window is in full screen mode, the window buttons are on a different window other than the INAppStoreWindow. If we set the frames of window buttons, they disappear from the floating titlebar when the mouse is moved up to the menu.
The patch fixes the issue by checking if the window buttons are in a normal window.