This is most likely caused by CSS interference. I recommend turning off all global CSS to verify that.
The most common problems include global "padding", "border" or "box-sizing" styles.
If the problem persists, could you please create a sample project that reproduces the issue and send it to support@daypilot.org?