Fixed bug in startup position of attributes dialog