Bug fixes in the placement stylesheet