MER: Make sure to only prevent cover surfaces from hiding

Qt::CoverWindow is '64 | Qt::Window', so (flags() & Qt::CoverWindow)
is true for windows with type Qt::Window too.
Merge pull request #21 from giucam/mer-5.4

MER: Make sure to only prevent cover surfaces from hiding