Fixed maximize button behavior (#26)