bar: Check monitor id to be valid
bar: Use DOCK hint (for gnome)
bar: Fix strut botton_start_x and end_x

The windows allocation.x is 0, although its displayed with offset,
seems its relative to window itself.
Use monitor position instead.