explicitly use pixel units when creating overlay elements