Fixed the issue #5348 for windows by setting margins check for window decoration instead and using value 0 margin for only the TITLE style
Fixed the issue #5348 for windows by setting margins check for window decoration instead and using value 0 margin for only the TITLE style