Set a sane minimum size

We need to take into account the main item's dimensions in the minimum
width and height properties.
2 jobs for master in 5 minutes and 51 seconds (queued for 1 second)