Modified monitor geometry calculation to don't intersect with desktop so it works with non rectangular arrangements