Wrap RECTANGLE and WINDOW to newtype to easily create a Read instance

The read instance is needed as those types have to be saved in the mutable
state of XHBMonad and it would be quite annoying to serialize all those
elements without a read instance.