Invert styles priority in print

Fix #1709