Ticket #1192: Ensure that custom CSS will be added to the end