GtkAllocation cleanup

Also the Gtk3 x, y, width and height calculations where different
from Gtk2. Using the calculation from Gtk2 in Gtk3 panel appears
to have fixed some bugs in the Gtk3 panel.