The following sidebar dependency used by Xray is misshaping the sidebar in some screens:
<dependency>com.atlassian.auiplugin:aui-sidebar</dependency>
This is the current behavior and it seems to only affect Jira 7.12 where an upgrade was made to the AUI: