Only use the bounding box to avoid empty borders if width or height are specified.
fixing a typo
Merge pull request #459 from Broele/AlignmentAdjustments

Fixing bounding box problem