Remove rectangle instead window