Window position manager improved