Bug with legend rectangle right position fixed