when i was zoom in does not take the parent width and height <img width="655" alt="Screenshot 2022-10-10 105107" src="https://user-images.githubusercontent.com/57350935/194803074-9f3f7e76-3477-4d1f-928d-d1379d142f7d.png">