Work around bug on my gnome-3.10 which makes the cup stuck at x=width/2, y=0
use monitor constraint only if it is defined in the shell (GNOME >3.4)