[cleanup] removed unused "locked" rectangle from memory canvas

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[fix] missing backend check in Xlib window

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>