Fix decoration buttons not being properly activated when maximised
Mouse positions are in floating points now, but a bunch of code still needs integers. Since QPointF to QPoint conversion rounds instead of flooring, we may in some cases end up with positions outside of the screen or geometry. To avoid that, manually floor in some places.
Requires kdecoration!24 (merged) for things to work properly.
Edited by Arjen Hiemstra