Coded start of gui, one unit rectangle is already painted