ShowWindowCommandsOnTop for window buttons too

Hide Window button commands when ShowWindowCommandsOnTop is false.
Merge pull request #1098 from 100GPing100/patch-7

ShowWindowCommandsOnTop for window buttons