fixed rectangle intersection check